package com.example.lotterysystem.service;


import com.example.lotterysystem.controller.param.UserLoginParam;
import com.example.lotterysystem.controller.param.UserRegisterParam;
import com.example.lotterysystem.controller.result.BaseUserInfoResult;
import com.example.lotterysystem.service.dto.UserDTO;
import com.example.lotterysystem.service.dto.UserLoginDTO;
import com.example.lotterysystem.service.dto.UserRegisterDTO;
import com.example.lotterysystem.service.enums.UserIdentityEnum;

import java.util.List;

public interface IUserService {
     UserRegisterDTO register(Integer createId,UserRegisterParam param);

     UserLoginDTO login(UserLoginParam param);

     List<UserDTO> selectUserInfoByIdentity(Integer createId,UserIdentityEnum identity);
}
